package org.eliza.base.randomx

import kotlin.random.Random

fun main() {
    var bitCount = 2

    val byteArrayOf = byteArrayOf(1, 2, 3)
    val doubleEnd: Double = 1.0
    val doubleFrom: Double = 0.0
    println("nextBits    ${Random.nextBits(bitCount)}")
    println("nextBoolean ${Random.nextBoolean()}")
    println("nextBytes   ${Random.nextBytes(byteArrayOf)}")
    println("nextDouble  ${Random.nextDouble(doubleEnd)}")
    println("nextDouble  ${Random.nextDouble(doubleFrom, doubleEnd)}")
    println("nextFloat   ${Random.nextFloat()}")
    println("nextInt     ${Random.nextInt(10)}")
    println("nextLong    ${Random.nextLong(10L)}")


}